<!DOCTYPE html>
<!-- saved from url=(0059)https://websocket.kleshuo.com/Views/KP/#/main/main_Invoiced -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>invoicingsystem</title>
    <link href="__STATIC__/tax/css/app.a98501b065b72906e12c02c8483484df.css" rel="stylesheet">
    <link href="__STATIC__/tax/css/base/jquery-ui-1.10.4.custom.min.css" rel="stylesheet">

</head>
<style type="text/css" media="all">
    .lnvo-div-main {
        height: 100vh;
        overflow-y: scroll;
    }

    .lnvo-div-main::-webkit-scrollbar {
        display: none; /* Chrome Safari */
    }

    .el-table {
        overflow: scroll;
    }

    .el-table__header-wrapper {
        overflow: initial;
    }

    .el-table__body-wrapper {
        overflow: initial;
    }

    .data_box {
        display: none;
    }

    .el-table--border:after, .el-table--group:after {
        border: 0;
        width: 0;
    }

    input[type=date]::-webkit-inner-spin-button {
        visibility: hidden;
    }

    input[type=date]::-webkit-datetime-edit-fields-wrapper {

    }

    .layui-laypage .layui-laypage-limits {
        margin-bottom: 7px;
        vertical-align: middle !important;
    }

    .layui-laypage select {
        width: 90px;
    }
</style>
<style>
    .lnvo-bot {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 60px;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .layui-form-checkbox {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .pub-right {
        display: flex;
        align-items: center;
    }

    .pub-right img {
        width: 22px;
        margin-right: 10px;
    }

    #maxd-window {
        display: none;
    }

    .layui-laypage .layui-laypage-curr .layui-laypage-em {
        background-color: #165692 !important;
    }
    .ui-datepicker{
        width: 14rem !important;
    }
    .ui-datepicker .ui-datepicker-title{
        position: relative;
        text-align: unset;
        margin: 0 auto;
        width: 60%;
        height: 26px;
    }
    .ui-datepicker .ui-datepicker-month{
        width: 40% !important;
        box-sizing: border-box;
        left: 0;
    }
    .ui-datepicker .ui-datepicker-year{
        float: right;
        right: 0;
        width: 45% !important;
        box-sizing: border-box;
    }
</style>
<body class="" style="">
<div class="bg" style="    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display:none
    ">
    <div class="box" style="    color: #fff;
    background: #103b6b;
    margin-top: 35vh;
    width: 500px;
    height: 180px;
    text-align: center;
    margin-left: 35vw;
    border-radius: 5px;">
        <img src="__STATIC__/tax/images/clock.png" alt="" style="    margin-top: 20px;
    width: 100px;
    margin-bottom: 10px;"/>
        <p>正在加载，请稍等...</p>
    </div>
</div>
<div id="app">
    <div class="lnvo-div-main">
        <div class="pub-div">
            <section class="el-container is-vertical">
                <header class="el-header" style="height: 35px;">
                    <div class="pub-left"><img
                            src="">
                        <span>已开发票查询</span>
                        <p class="title-tip" style="display: none;">(<span></span>)</p>
                    </div>
                    <div class="pub-right">
                        <img src="__STATIC__/tax/images/wenhao.svg" id="help" alt=""/>
                        <img src="__STATIC__/tax/images/min-window.svg" id="min-window" alt=""/>
                        <img src="__STATIC__/tax/images/max-window.svg" id="max-window" alt=""/>
                        <img src="__STATIC__/tax/images/maxd-window.svg" id="maxd-window" alt=""/>
                        <a href="javascript:history.go(-1)"><i class="iconfont icon-back"></i></a>
                    </div>
                </header>
            </section>
        </div>
        <div class="lnvo-div">
            <form method="get" class="layui-form" lay-filter="form">
                <div class="el-row">
                    <div class="el-col el-col-5">
                        <div class="lnvo-div-item">
                            <div class="el-select" style="width: 100%;">
                                <!---->
                                <div class="el-input el-input--suffix">
                                    <input type="text" readonly="readonly" autocomplete="off"
                                           placeholder="请选择" class="el-input__inner" id="bill_show"
                                           value="{$bill_type[$Data['bill']]}">
                                    <input type="hidden" id="bill" name="bill" value="{$Data.bill}"/>
                                    <span class="el-input__suffix"><span class="el-input__suffix-inner"><i
                                            class="el-select__caret el-input__icon el-icon-arrow-up"></i>
                                </span></span>
                                </div>
                                <!--                                <input type="hidden" id="limit" name="limit" value="{$Data.limit}"/>-->
                                <div class="el-select-dropdown el-popper"
                                     style="display: none; min-width: 252.078px;">
                                    <div class="el-scrollbar" style="">
                                        <div class="el-select-dropdown__wrap el-scrollbar__wrap"
                                             style="margin-bottom: -17px; margin-right: -17px;">
                                            <ul class="el-scrollbar__view el-select-dropdown__list">
                                                <li class="el-select-dropdown__item bill_choose {if condition='$Data.bill eq 1'}selected{/if}"
                                                    bill="1"><span>增值税专用发票</span></li>
                                                <li class="el-select-dropdown__item bill_choose {if condition='$Data.bill eq 2'}selected{/if}"
                                                    bill="2"><span>增值税普通发票</span></li>
                                                <!--                                                <li class="el-select-dropdown__item bill_choose {if condition='$Data.bill eq 3'}selected{/if}"-->
                                                <!--                                                    bill="3"><span>增值税电子普通发票</span></li>-->
                                                <li class="el-select-dropdown__item bill_choose {if condition='$Data.bill eq 4'}selected{/if}"
                                                    bill="4"><span>增值税专用发票和增值税普通发票</span></li>
                                            </ul>
                                        </div>
                                        <div class="el-scrollbar__bar is-horizontal">
                                            <div class="el-scrollbar__thumb" style="transform: translateX(0%);">
                                            </div>
                                        </div>
                                        <div class="el-scrollbar__bar is-vertical">
                                            <div class="el-scrollbar__thumb" style="transform: translateY(0%);">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="el-col el-col-3">
                        <div class="lnvo-div-item">
                            <div class="el-select">
                                <!---->
                                <div class="el-input el-input--suffix">
                                    <input type="text" readonly="readonly" autocomplete="off"
                                           id="search_name_show" placeholder="请选择" class="el-input__inner"
                                           value="{$search_type[$Data['search_type']]}">
                                    <input type="hidden" name="search_type" id="search_type"
                                           value="{$Data.search_type}"/>
                                    <span class="el-input__suffix"><span class="el-input__suffix-inner"><i
                                            class="el-select__caret el-input__icon el-icon-arrow-up"></i>
											</span>
                                
										</span>
                                </div>
                                <div class="el-select-dropdown el-popper"
                                     style="display: none; min-width: 147.25px;">
                                    <div class="el-scrollbar" style="">
                                        <div class="el-select-dropdown__wrap el-scrollbar__wrap"
                                             style="margin-bottom: -17px; margin-right: -17px;">
                                            <ul class="el-scrollbar__view el-select-dropdown__list"
                                                id="search_type_box">
                                                {volist name="search_condition" id="cv"}
                                                {if condition="$cv.checked eq 'true'"}
                                                <li class="el-select-dropdown__item search_type {if condition='$Data.search_type eq $cv.value'}selected{/if}"
                                                    index="{$cv.value}"><span>{$cv.name}</span>
                                                </li>
                                                {/if}
                                                {/volist}
                                            </ul>
                                        </div>
                                        <div class="el-scrollbar__bar is-horizontal">
                                            <div class="el-scrollbar__thumb" style="transform: translateX(0%);">
                                            </div>
                                        </div>
                                        <div class="el-scrollbar__bar is-vertical">
                                            <div class="el-scrollbar__thumb" style="transform: translateY(0%);">
                                            </div>
                                        </div>
                                    </div>
                                    <!---->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="el-col el-col-3">
                        <div class="lnvo-div-item">
                            <div class="el-input">
                                <!----><input type="text" autocomplete="off" class="el-input__inner" name="search_name"
                                              value="{$Data.search_name}">
                                <!---->
                                <!---->
                                <!---->
                                <!---->
                            </div>
                        </div>
                    </div>

                    <div class="el-col el-col-3">
                        <div class="lnvo-div-item">
                            <div class="el-input">
                                <input type="text" readonly class="layui-input" name="begin_time" id="begin"
                                       placeholder="请选择" style="height:30px" value="{$monthBegin}">
                            </div>
                        </div>
                    </div>
                    <div class="el-col el-col-3">
                        <div class="lnvo-div-item">
                            <div class="el-input">
                                <input type="text" readonly class="layui-input" name="end_time" id="end"
                                       placeholder="请选择" style="height:30px" value="{$monthEnd}">
                            </div>
                        </div>
                    </div>
                    <div class="el-col el-col-12">
                        <div class="lnvo-div-item">
                            <!--                        <div-->
                            <!--                                class="el-date-editor el-input el-input--prefix el-input--suffix el-date-editor--date">-->
                            <!---->
                            <!--                            <input type="text" autocomplete="off" name="" placeholder="开始日期" class="el-input__inner">-->
                            <!--                            <input type="datetime-local" class="input-sm form-control input-s-sm inline" id="begin_time" name="begin_time" />-->
                            <!--<div style="position:relative">-->

                            <!--<input type="date" autocomplete="off" class="el-input__inner form-control input-s-sm inline" value="{$Data.begin_time}" id="begin_time"  name="begin_time" value="开始时间" placeholder=" "/>-->
                            <!--<div style="    width: 20px;height: 20px;position: absolute;background: #fff;right: 30px;top: 4px;">-->

                            <!--</div>-->
                            <!--</div>-->

                            <!--                            <span class="el-input__prefix"><i-->
                            <!--                                class="el-input__icon el-icon-date"></i>-->
                            <!---->
                            <!--									</span><span class="el-input__suffix"><span class="el-input__suffix-inner"><i-->
                            <!--                                class="el-input__icon"></i>-->
                            <!---->
                            <!---->
                            <!---->
                            <!---->
                            <!--										</span>-->
                            <!---->
                            <!--									</span>-->
                            <!---->
                            <!---->
                            <!--                        </div>-->
                            <!--                        <div-->
                            <!--                                class="el-date-editor el-input el-input--prefix el-input--suffix el-date-editor--date">-->
                            <!--                            &lt;!&ndash;&ndash;&gt;<input type="text" autocomplete="off" name="" placeholder="结束日期"  class="el-input__inner">-->
                            <!--<div style="position:relative">-->
                            <!--      <input type="date" class="el-input__inner input-sm form-control input-s-sm inline" id="end_time" name="end_time" value="{$Data.end_time|default=''}">-->
                            <!--      <div style="    width: 20px;height: 20px;position: absolute;background: #fff;right: 30px;top: 4px;">-->

                            <!--      </div>-->
                            <!--</div>-->

                            <!--                            <span class="el-input__prefix"><i-->
                            <!--                                class="el-input__icon el-icon-date"></i>-->
                            <!---->
                            <!--									</span><span class="el-input__suffix"><span class="el-input__suffix-inner"><i-->
                            <!--                                class="el-input__icon"></i>-->
                            <!---->
                            <!---->
                            <!---->
                            <!--										</span>-->
                            <!---->
                            <!--									</span>-->
                            <!---->
                            <!---->
                            <!--                        </div>-->
                        </div>
                    </div>
                </div>
                <div class="el-row">
                    <div class="el-col el-col-2">
                        <div class="lnvo-div-item">
                            发票状态：
                        </div>
                    </div>
                    <div class="el-col el-col-20">
                        <div class="lnvo-div-item">
                            <!--is-disabled is-checked-->
                            <label class="el-checkbox is-disabled">
                                <span class="el-checkbox__label">正数发票</span>
                                <span class="el-checkbox__input {if condition='in_array(1,$arr)'}is-checked{/if}">
                                <span class="el-checkbox__inner"></span>
                                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled"
                                       class="el-checkbox__original" value="1" style="option:0">
                            </span>

                            </label>
                            <label class="el-checkbox is-disabled ">
                                <span class="el-checkbox__label">负数发票</span>
                                <span class="el-checkbox__input {if condition='in_array(2,$arr)'}is-checked{/if}">
                                <span class="el-checkbox__inner"></span>
                                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled"
                                       class="el-checkbox__original" value="2" style="option:0">
                            </span>

                            </label>
                            <label class="el-checkbox is-disabled ">
                                <span class="el-checkbox__label">空白作废</span>
                                <span class="el-checkbox__input {if condition='in_array(3,$arr)'}is-checked{/if}">
                                <span class="el-checkbox__inner"></span>
                                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled"
                                       class="el-checkbox__original" value="3" style="option:0">
                            </span>

                            </label>
                            <label class="el-checkbox is-disabled ">
                                <span class="el-checkbox__label">填开作废</span>
                                <span class="el-checkbox__input {if condition='in_array(4,$arr)'}is-checked{/if}">
                                <span class="el-checkbox__inner"></span>
                                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled"
                                       class="el-checkbox__original" value="4" style="option:0">
                            </span>

                            </label>
                            <label class="el-checkbox is-disabled ">
                                <span class="el-checkbox__label">负数作废</span>
                                <span class="el-checkbox__input {if condition='in_array(5,$arr)'}is-checked{/if}">
                                <span class="el-checkbox__inner"></span>
                                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled"
                                       class="el-checkbox__original" value="5" style="option:0">
                            </span>

                            </label>
                        </div>
                    </div>
                    <input type="hidden" name="status_tax" id="status_tax" value="{$Data.status_tax}">
                    <!--<div class="el-col el-col-4">-->
                    <!--    <div class="lnvo-div-item">-->
                    <!--        <label class="el-checkbox is-disabled ">-->
                    <!--            <span class="el-checkbox__label">收购发票</span>-->
                    <!--            <span class="el-checkbox__input {if condition='in_array(6,$arr)'}is-checked{/if}">-->
                    <!--                <span class="el-checkbox__inner"></span>-->
                    <!--                <input type="checkbox" name="tax_status" aria-hidden="false" disabled="disabled" class="el-checkbox__original" value="6">-->
                    <!--            </span>-->

                    <!--        </label>-->
                    <!--    </div>-->
                    <!--</div>-->
                </div>
                <div class="el-row" style="margin-bottom: 20px;">
                    <div class="el-col el-col-12">
                        <div class="lnvo-div-item">

                            <button type="button" class="el-button el-button--default btn_item"
                                    style="width: 120px;background-color: #ccc" disabled>
                                <span>查询结果导出</span>
                            </button>
                            <button type="button" class="el-button el-button--default btn_item"
                                    style="background-color: #ccc" disabled>
                                <span>打 印</span>
                            </button>
                            <button type="button" class="el-button el-button--default " id="set">
                                <span>查询设置</span>
                            </button>
                            <button type="submit" id="search" lay-submit lay-filter="form"
                                    class="el-button el-button--default el-button--small">
                                <span>查 询</span>
                                <!--<button class="btn btn-sm btn-primary" type="submit" id="search"><i class="fa fa-search"></i> 查1询</button>-->
                            </button>
                        </div>
                    </div>
                </div>

            </form>
            <style type="text/css" media="all">
                .setbox {
                    display: none;
                }

                .setbg {
                    position: fixed;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    background: #00000052;
                    z-index: 102;
                }

                .setmain {
                    position: fixed;
                    z-index: 99;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 380px;
                }

                .s-title {
                    background: #103b6b;
                    color: #fff;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 5px;
                    box-sizing: border-box;
                    font-size: 16px;
                }

                .s-title .close {
                    font-size: 35px;
                    margin-right: 5px;
                    cursor: pointer;
                }

                .s-body {
                    background: #fff;
                    padding: 5px 15px;
                }

                .searchbox {
                    border: 1px solid #ccc;
                }

                .search-title {
                    text-align: center;
                    background: #e1e1e1;
                    padding: 10px 0;
                }

                .b-title {
                    margin: 7px 0 12px 0;
                }

                .search-check {
                    display: inline-block;
                    padding: 5px 10px;
                    box-sizing: border-box;
                    width: 100%
                }

                .search-check label {
                    width: 50%;
                    display: flex;
                    align-items: center;

                    height: 30px;
                    float: left;
                    cursor: pointer;
                }

                .search-check label input {
                    margin-right: 5px;
                }

                .search-check label input[type=checkbox] {
                    width: 16px;
                    height: 16px;
                    vertical-align: sub;
                    overflow: visible;
                    visibility: hidden;
                }

                .search-check label input[type=checkbox]:after {
                    content: '';
                    display: inline-block;
                    width: 14px;
                    height: 14px;
                    border-radius: 4px;
                    border: 1px solid rgba(153, 153, 153, 0.9);
                    visibility: visible;
                    color: #ff0000;
                    line-height: 1;
                    font-size: 16px;
                    text-align: center;
                    cursor: pointer;
                }

                .search-check label input[type=checkbox]:checked::after {
                    content: '\2713';
                    color: #4488E5;
                    font-weight: bold;
                }

                .btns {
                    display: flex;
                    justify-content: center;
                    border-top: 1px solid #ccc;
                    margin-top: 8px;
                    width: calc(100% + 30px);
                    margin-left: -15px;
                }

                .btns div {
                    padding: 7px 30px;
                    background: #165693;
                    color: #fff;
                    margin: 8px;
                    cursor: pointer;
                }
            </style>
            <div class="setbox">
                <div class="setbg">
                    <div class="setmain">
                        <div class="s-title">
                            <div class="t-right">
                                <img src="">
                                <span>查询设置</span>
                            </div>
                            <span class="close">×</span>
                        </div>
                        <div class="s-body">
                            <div class="b-title">
                                增值税发票
                            </div>
                            <div class="searchbox">
                                <div class="search-title">
                                    查询条件
                                </div>
                                <div class="search-check search_condition">
                                    {volist name="search_condition" id="cv"}
                                    <label for="">
                                        {if condition="$cv.checked eq 'true'"}
                                        <input type="checkbox" name="{$cv.name}" value="{$cv.value}" checked/>
                                        {else/}
                                        <input type="checkbox" name="{$cv.name}" value="{$cv.value}"/>
                                        {/if}
                                        <span>{$cv.name}</span>
                                    </label>
                                    {/volist}
                                </div>
                            </div>
                            <div class="searchbox">
                                <div class="search-title">
                                    查询结果
                                </div>
                                <div class="search-check search_result" style="height: 280px;overflow-y: scroll;">
                                    {volist name="search_result" id="sv"}
                                    <label for="">
                                        {if condition="$sv.checked eq 'true'"}
                                        <input type="checkbox" value="{$sv.item}" checked/>
                                        {else/}
                                        <input type="checkbox" value="{$sv.item}"/>
                                        {/if}
                                        <span>{$sv.name}</span>
                                    </label>
                                    {/volist}
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>发票状态</span>-->
                                    <!--                                    </label>-->
                                    <!--                                      <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>发票代码 </span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>发票号码</span>-->
                                    <!--                                    </label>-->
                                    <!--                                     <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>上传状态</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>客户名称</span>-->
                                    <!--                                    </label>-->
                                    <!--                                      <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>税额</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>合计金额</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>价税合计</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>原发票代码</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>原发票号码</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>通知单编号</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>开票人</span>-->
                                    <!--                                    </label>-->
                                    <!--                                    <label for="">-->
                                    <!--                                        <input type="checkbox"  value="" />-->
                                    <!--                                        <span>开票日期</span>-->
                                    <!--                                    </label>-->

                                </div>
                            </div>
                            <div class="btns">
                                <div class="save" id="save">
                                    保存
                                </div>
                                <div class="out">
                                    退出
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div style="height: 70vh;overflow-y: scroll">
                <table class="layui-hide" id="invoicetable" lay-filter="tableFilter"></table>
            </div>
            <!--表格-->
            <!--            <div class="invo-table">-->
            <!--                <div class="el-table el-table&#45;&#45;fit el-table&#45;&#45;border el-table&#45;&#45;enable-row-transition"-->
            <!--                     style="width: 100%; height: 72vh;">-->
            <!--                    <div class="hidden-columns">-->
            <!--                        <div></div>-->
            <!--                        {volist name="search_result" id="v"}-->
            <!--                        <div></div>-->
            <!--                        {/volist}-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                        &lt;!&ndash;                        <div></div>&ndash;&gt;-->
            <!--                    </div>-->
            <!--                    <div class="el-table__header-wrapper">-->
            <!--                        <table cellspacing="0" cellpadding="0" border="0" class="el-table__header" style="width: 100%;">-->
            <!--                            <colgroup>-->
            <!--                                <col name="el-table_3_column_22" width="50">-->
            <!--                                {volist name="search_result" id="sv"}-->
            <!--                                {if condition="$sv.checked eq 'true'"}-->
            <!--                                <col name="el-table_3_column_{$sv.id}" width="{$sv.width}">-->
            <!--                                {/if}-->
            <!--                                {/volist}-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_24" width="200">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_25" width="114">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_26" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_27" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_28" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_29" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_30" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_31" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_32" width="113">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_33" width="350">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="el-table_3_column_34" width="100">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <col name="gutter" width="0">&ndash;&gt;-->
            <!--                            </colgroup>-->
            <!--                            <thead class="has-gutter">-->
            <!--                            <tr class="">-->
            <!--                                <th colspan="1" rowspan="1"-->
            <!--                                    class="el-table_3_column_22   el-table-column&#45;&#45;selection  is-leaf">-->
            <!--                                    <div class="cell"><label class="el-checkbox"><span-->
            <!--                                            class="el-checkbox__input"><span-->
            <!--                                            class="el-checkbox__inner"></span><input type="checkbox"-->
            <!--                                                                                     aria-hidden="false"-->
            <!--                                                                                     class="el-checkbox__original"-->
            <!--                                                                                     value=""></span>-->
            <!--                                        &lt;!&ndash;&ndash;&gt;-->
            <!--                                    </label></div>-->
            <!--                                </th>-->
            <!--                                {volist name="search_result" id="sv"}-->
            <!--                                {if condition="$sv.checked eq 'true'"}-->
            <!--                                <th colspan="1" rowspan="1" class="el-table_3_column_{$sv.id} is-leaf">-->
            <!--                                    <div class="cell">{$sv.name}</div>-->
            <!--                                </th>-->
            <!--                                {/if}-->
            <!--                                {/volist}-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_25     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">发票状态</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_26     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">发票代码</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_27     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">发票号码</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_28     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">上传状态</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_29     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">开票日期</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_30     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">税额</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_31     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">合计金额</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <th colspan="1" rowspan="1" class="el-table_3_column_32     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">价税合计</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                 <th colspan="1" rowspan="1" class="el-table_3_column_33     is-leaf">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">纳税人</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </th>&ndash;&gt;-->
            <!--                                <th colspan="1" rowspan="1"-->
            <!--                                    class="el-table_3_column_98 is-leaf" style="width:125px">-->
            <!--                                </th>-->
            <!--                                <th colspan="1" rowspan="1"-->
            <!--                                    class="el-table_3_column_99 is-leaf fiex_box"-->
            <!--                                    style="    position: absolute;right: 0;width: 125px;">-->
            <!--                                    <div class="cell">操作</div>-->
            <!--                                </th>-->
            <!--                                &lt;!&ndash;<th class="gutter" style="width: 0px; display: none;"></th>&ndash;&gt;-->
            <!--                            </tr>-->
            <!--                            </thead>-->
            <!--                        </table>-->
            <!--                    </div>-->
            <!--                    <div class="el-table__body-wrapper is-scrolling-none" style="height: auto;">-->
            <!--                        <table cellspacing="0" cellpadding="0" border="0" class="el-table__body data_box"-->
            <!--                               style="width: 1255px;position:relative">-->
            <!--                            <colgroup>-->
            <!--                                <col name="el-table_3_column_22" width="50">-->
            <!--                                {volist name="search_result" id="sv"}-->
            <!--                                {if condition="$sv.checked eq 'true'"}-->
            <!--                                <col name="el-table_3_column_{$sv.id}" width="{$sv.width}">-->
            <!--                                {/if}-->
            <!--                                {/volist}-->
            <!--                            </colgroup>-->
            <!--                            <tbody>-->
            <!--                            {volist name="InvoiceList" id="v"}-->
            <!--                            <tr class="el-table__row">-->
            <!--                                <td rowspan="1" colspan="1"-->
            <!--                                    class="el-table_3_column_22  el-table-column&#45;&#45;selection">-->
            <!--                                    <div class="cell">-->
            <!--                                        <label class="el-checkbox">-->
            <!--                                            <span class="el-checkbox__input">-->
            <!--                                                <span class="el-checkbox__inner"></span>-->
            <!--                                            <input type="checkbox" aria-hidden="false" class="el-checkbox__original"-->
            <!--                                                   value="">-->
            <!--                                        </span>-->
            <!--                                        </label>-->
            <!--                                    </div>-->
            <!--                                </td>-->
            <!--                                {volist name="search_result" id="sv"}-->
            <!--                                {if condition="$sv.checked eq 'true'"}-->
            <!--                                <td rowspan="1" colspan="1" class="el-table_3_column_{$sv.id}  ">-->
            <!--                                    <div class="cell">-->
            <!--                                        {if condition="$sv.item eq 'bill'"}-->
            <!--                                        {if condition="$v.bill eq 1"}-->
            <!--                                        增值税专用发票-->
            <!--                                        {elseif condition="$v.bill eq 2"}-->
            <!--                                        增值税普通发票-->
            <!--                                        {elseif condition="$v.bill eq 3"}-->
            <!--                                        增值税电子专用发票-->
            <!--                                        {elseif condition="$v.bill eq 4"}-->
            <!--                                        增值税电子普通发票-->
            <!--                                        {/if}-->
            <!--                                        {elseif condition="$sv.item eq 'tax_type'"}-->
            <!--                                        {if condition="$v.tax_type eq 1"}-->
            <!--                                        正数发票-->
            <!--                                        {elseif condition="$v.tax_type eq 2"}-->
            <!--                                        增值税普通发票-->
            <!--                                        {elseif condition="$v.tax_type eq 3"}-->
            <!--                                        负数发票-->
            <!--                                        {elseif condition="$v.tax_type eq 4"}-->
            <!--                                        负数废票-->
            <!--                                        {/if}-->
            <!--                                        {elseif condition="$sv.item eq 'status'"}-->
            <!--                                        {if condition="$v.status eq 1"}-->
            <!--                                        已上传-->
            <!--                                        {elseif condition="$v.status eq 2"}-->
            <!--                                        未报送-->
            <!--                                        {/if}-->
            <!--                                        {elseif condition="$sv.item eq 'kp_time'"}-->
            <!--                                        {$v.kp_time|date="Y-m-d",###}-->
            <!--                                        {elseif condition="$sv.item eq 'content_tax'"}-->
            <!--                                        {$v.content_tax|number_format=2,'.',''}-->
            <!--                                        {elseif condition="$sv.item eq 'content_money'"}-->
            <!--                                        {$v.content_money|number_format=2,'.',''}-->
            <!--                                        {elseif condition="$sv.item eq 'content_sum'"}-->
            <!--                                        {$v.content_money+$v.content_tax|number_format=2,'.',''}-->
            <!--                                        {else/}-->
            <!--                                        {$v[$sv.item]}-->
            <!--                                        {/if}-->

            <!--                                    </div>-->
            <!--                                </td>-->
            <!--                                {/if}-->
            <!--                                {/volist}-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_24  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {if condition="$v.bill eq 1"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        增值税专用发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.bill eq 2"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        增值税普通发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.bill eq 3"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        增值税电子专用发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.bill eq 4"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        增值税电子普通发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {/if}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    </div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_25  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {if condition="$v.tax_type eq 1"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        正数发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.tax_type eq 2"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        增值税普通发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.tax_type eq 3"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        负数发票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.tax_type eq 4"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        负数废票&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {/if}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    </div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_26  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.kp_code}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_27  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.kp_no}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_28  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {if condition="$v.status eq 1"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        已上传&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        {elseif condition="$v.status eq 2"}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                        未报送&ndash;&gt;-->

            <!--                                &lt;!&ndash;                                        {/if}&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    </div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_29  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.kp_time|date="Y-m-d",###}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_30  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.content_tax|number_format=2,'.',''}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_31  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.content_money|number_format=2,'.',''}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_32  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.content_money+$v.content_tax|number_format=2,'.',''}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_33  ">&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                    <div class="cell">{$v.buy_name}</div>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                </td>&ndash;&gt;-->
            <!--                                &lt;!&ndash;                                <td rowspan="1" colspan="1" class="el-table_3_column_33   is-hidden">&ndash;&gt;-->
            <!--                                <td rowspan="1" colspan="1" class="el-table_3_column_98">-->
            <!--                                </td>-->
            <!--                                <td rowspan="1" colspan="1" class="el-table_3_column_99 fiex_box"-->
            <!--                                    style="position: absolute;right: 0;width: 125px;background:#fff">-->
            <!--                                    <div class="cell">-->
            <!--                                        <a href="{:URL('invoice/Invoiced')}?id={$v.id}">-->
            <!--                                            <button type="button" class="el-button el-button&#45;&#45;default"-->
            <!--                                                    style="font-size: 12px; width: 60px; height: 23px; line-height: 23px;">-->
            <!--                                                &lt;!&ndash;&ndash;&gt;-->
            <!--                                                &lt;!&ndash;&ndash;&gt;<span>查看原票</span>-->
            <!--                                            </button>-->
            <!--                                        </a>-->

            <!--                                    </div>-->
            <!--                                </td>-->
            <!--                            </tr>-->
            <!--                            {/volist}-->
            <!--                            </tbody>-->
            <!--                        </table>-->
            <!--                        &lt;!&ndash;&ndash;&gt;-->
            <!--                        &lt;!&ndash;&ndash;&gt;-->
            <!--                    </div>-->
            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                    <div class="el-table__fixed-right" style="width: 100px; height: 671px;">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                        <div class="el-table__fixed-header-wrapper">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                            <table cellspacing="0" cellpadding="0" border="0" class="el-table__header"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                   style="width: 1255px;">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <colgroup>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_23" width="50">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_24" width="200">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_25" width="114">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_26" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_27" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_28" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_29" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_30" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_31" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_32" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_33" width="100">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </colgroup>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <thead class="">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <tr class="">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_23   el-table-column&#45;&#45;selection  is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell"><label class="el-checkbox"><span&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__input"><span&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__inner"></span><input&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                type="checkbox" aria-hidden="false"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__original" value=""></span>&ndash;&gt;-->
            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        </label></div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_24     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">发票类型</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_25     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">发票状态</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_26     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">发票代码</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_27     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">发票号码</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_28     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">上传状态</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_29     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">开票日期</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_30     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">税额</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_31     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">合计金额</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_32     is-hidden is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">价税合计</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <th colspan="1" rowspan="1" class="el-table_3_column_33 is-hidden   is-leaf">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">操作</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </th>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </tr>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </thead>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                            </table>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                        </div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                        <div class="el-table__fixed-body-wrapper" style="top: 34px; height: 637px;">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                            <table cellspacing="0" cellpadding="0" border="0" class="el-table__body"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                   style="width: 1255px;">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <colgroup>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_23" width="50">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_24" width="200">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_25" width="114">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_26" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_27" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_28" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_29" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_30" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_31" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_32" width="113">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <col name="el-table_3_column_33" width="100">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </colgroup>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <tbody>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                <tr class="el-table__row">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        class="el-table_3_column_23  el-table-column&#45;&#45;selection is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell"><label class="el-checkbox"><span&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__input"><span&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__inner"></span><input&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                type="checkbox" aria-hidden="false"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                class="el-checkbox__original" value=""></span>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                            &lt;!&ndash;&ndash;&gt;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        </label></div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_24   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">增值税专用发票</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_25   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">正常发票</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_26   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">13200191130</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_27   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">00972316</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_28   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">已报送</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_29   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">2020-02-15</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_30   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">291.26</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_31   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">9708.74</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_32   is-hidden">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell">10000</div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    <td rowspan="1" colspan="1" class="el-table_3_column_33  ">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        <div class="cell"><a href="{:URL('invoice/Invoiced')}"><button type="button"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                                                          class="el-button el-button&#45;&#45;default"&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                                                                          style="font-size: 12px; width: 60px; height: 23px; line-height: 23px;">&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                            &lt;!&ndash;&ndash;&gt;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                            &lt;!&ndash;&ndash;&gt;<span>查看原票</span>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                        </button></a></div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                    </td>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </tr>&ndash;&gt;-->

            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                                </tbody>&ndash;&gt;-->
            <!--                    &lt;!&ndash;                            </table>&ndash;&gt;-->
            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                        </div>&ndash;&gt;-->
            <!--                    &lt;!&ndash;&ndash;&gt;-->
            <!--                    &lt;!&ndash;                    </div>&ndash;&gt;-->
            <!--                    <div class="el-table__fixed-right-patch" style="width: 0px; height: 34px;"></div>-->
            <!--                    <div class="el-table__column-resize-proxy" style="display: none;"></div>-->
            <!--                </div>-->
            <!--            </div>-->
            <!---合计-->
            <div class="lnvo-bot data_box">
                <div class="lnvo-bot-left" id="tongjiBox">
                    <p>本页统计：合计金额：<span>{$current.money|number_format=2,'.',''}</span>合计税额：<span>{$current.tax|number_format=2,'.',''}</span>价税合计：<span>{$current.tax_money|number_format=2,'.',''}</span>
                    </p>
                    <p>全部统计：合计金额：<span>{$all.money|number_format=2,'.',''}</span>合计税额：<span>{$all.tax|number_format=2,'.',''}</span>价税合计：<span>{$all.tax_money|number_format=2,'.',''}</span>
                    </p>
                </div>
                <div class="lnvo-bot-right">
                    <div class="" id="tablepage"></div>
                    <!--                    <div class="el-pagination">-->
                    <!--                        <button type="button" disabled="disabled" class="btn-prev"><i-->
                    <!--                                class="el-icon el-icon-arrow-left"></i></button>-->
                    <!--                        <ul class="el-pager">-->
                    <!--                            <li class="number active">1</li>-->
                    <!--                        </ul>-->
                    <!--                        {$Page}-->
                    <!--                        <button type="button" disabled="disabled" class="btn-next"><i-->
                    <!--                                class="el-icon el-icon-arrow-right"></i></button>-->
                    <!--                        <span-->
                    <!--                                class="el-pagination__sizes">-->
                    <!--                    	<div class="el-select el-select&#45;&#45;mini">-->
                    <!--                    -->
                    <!--                    		<div class="el-input el-input&#45;&#45;mini el-input&#45;&#45;suffix">-->
                    <!--                    <input type="text" readonly="readonly" autocomplete="off"-->
                    <!--                           placeholder="请选择" class="el-input__inner" id="limit_show" value="{$Data.limit}">&ndash;&gt;-->
                    <!--                    <span class="el-input__suffix"><span-->
                    <!--                            class="el-input__suffix-inner"><i-->
                    <!--                            class="el-select__caret el-input__icon el-icon-arrow-up"></i>-->
                    <!--                    				</span>-->
                    <!--                    			</span>-->
                    <!--                    		</div>-->
                    <!--                    		<div class="el-select-dropdown el-popper"-->
                    <!--                                 style="display: none; min-width: 110px;top:-160px">-->
                    <!--                    			<div class="el-scrollbar" style="">-->
                    <!--                    				<div class="el-select-dropdown__wrap el-scrollbar__wrap"-->
                    <!--                                         style="margin-bottom: -17px; margin-right: -17px;">-->
                    <!--                    					<ul class="el-scrollbar__view el-select-dropdown__list limit_box">-->
                    <!--                    -->
                    <!--                    						<li class="el-select-dropdown__item selected" limit="10"><span>10条/页</span>-->
                    <!--                    						</li>-->
                    <!--                    						<li class="el-select-dropdown__item" limit="20"><span>20条/页</span></li>-->
                    <!--                    						<li class="el-select-dropdown__item" limit="30"><span>30条/页</span></li>-->
                    <!--                    						<li class="el-select-dropdown__item" limit="40"><span>40条/页</span></li>-->
                    <!--                    					</ul>-->
                    <!--                    				</div>-->
                    <!--                    				<div class="el-scrollbar__bar is-horizontal">-->
                    <!--                    					<div class="el-scrollbar__thumb" style="transform: translateX(0%);">-->
                    <!--                    					</div>-->
                    <!--                    				</div>-->
                    <!--                    				<div class="el-scrollbar__bar is-vertical">-->
                    <!--                    					<div class="el-scrollbar__thumb" style="transform: translateY(0%);">-->
                    <!--                    					</div>-->
                    <!--                    				</div>-->
                    <!--                    			</div>-->
                    <!--                    -->
                    <!--                    		</div>-->
                    <!--                    	</div>-->
                    <!--                    </span>-->
                    <!--                    </div>-->
                </div>
            </div>
        </div>
        <div class="query-display" style="display: none;">
            <div class="dis-div1"><img
                    src="">
                <span>发票查询显示</span>
                <div class="dis-div2"><i class="el-icon-close"></i></div>
            </div>
            <div class="dis-div3"><span></span></div>
            <div class="ord-main">
                <div class="ord-main-top">
                    <p class="ord-main-p1">发票代码：<span></span></p>
                    <p class="ord-main-p2">开票日期：<span></span></p>
                    <p class="ord-main-p3">NO：<span></span></p>
                </div>
                <div class="ord-main-table">
                    <div class="ord-table-header">
                        <div class="header-left-name">
                            <p>购</p>
                            <p>货</p>
                            <p>单</p>
                            <p>位</p>
                        </div>
                        <div class="header-left">
                            <div class="left-main-left">
                                <p>名<span class="s1"></span>称：</p>
                                <p>纳税人识别号：</p>
                                <p>地址、<span class="s2"></span>电话：</p>
                                <p>开户行及账号：</p>
                            </div>
                            <div class="header-left-main">
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                            </div>
                        </div>
                        <div class="header-right">
                            <div class="right-main-left">
                                <p>密</p>
                                <p>码</p>
                                <p>区</p>
                            </div>
                            <div class="right-main">
                                <p></p>
                            </div>
                        </div>
                    </div>
                    <div class="pre-table">
                        <p class="xian1"></p>
                        <p class="xian2"></p>
                        <p class="xian3"></p>
                        <p class="xian4"></p>
                        <p class="xian5"></p>
                        <p class="xian6"></p>
                        <p class="xian7"></p>
                        <div class="el-table el-table--fit el-table--scrollable-x el-table--enable-row-hover"
                             style="width: 100%; height: 207px;">
                            <div class="hidden-columns">
                                <div></div>
                                <div></div>
                                <div></div>
                                <div></div>
                                <div></div>
                                <div></div>
                                <div></div>
                                <div></div>
                            </div>
                            <div class="el-table__header-wrapper">
                                <table cellspacing="0" cellpadding="0" border="0" class="el-table__header"
                                       style="width: 743px;">
                                    <colgroup>
                                        <col name="el-table_4_column_34" width="160">
                                        <col name="el-table_4_column_35" width="98">
                                        <col name="el-table_4_column_36" width="60">
                                        <col name="el-table_4_column_37" width="80">
                                        <col name="el-table_4_column_38" width="80">
                                        <col name="el-table_4_column_39" width="125">
                                        <col name="el-table_4_column_40" width="60">
                                        <col name="el-table_4_column_41" width="80">
                                        <col name="gutter" width="0">
                                    </colgroup>
                                    <thead class="has-gutter">
                                    <tr class="">
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_34     is-leaf">
                                            <div class="cell">货物或应税劳务名称</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_35     is-leaf">
                                            <div class="cell">规格型号</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_36     is-leaf">
                                            <div class="cell">单位</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_37     is-leaf">
                                            <div class="cell">数量</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_38     is-leaf">
                                            <div class="cell">单价</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_39     is-leaf">
                                            <div class="cell">金额</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_40     is-leaf">
                                            <div class="cell">税率</div>
                                        </th>
                                        <th colspan="1" rowspan="1"
                                            class="el-table_4_column_41     is-leaf">
                                            <div class="cell">税额</div>
                                        </th>
                                        <th class="gutter" style="width: 0px; display: none;"></th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>
                            <div class="el-table__body-wrapper is-scrolling-left">
                                <table cellspacing="0" cellpadding="0" border="0" class="el-table__body"
                                       style="width: 743px;">
                                    <colgroup>
                                        <col name="el-table_4_column_34" width="160">
                                        <col name="el-table_4_column_35" width="98">
                                        <col name="el-table_4_column_36" width="60">
                                        <col name="el-table_4_column_37" width="80">
                                        <col name="el-table_4_column_38" width="80">
                                        <col name="el-table_4_column_39" width="125">
                                        <col name="el-table_4_column_40" width="60">
                                        <col name="el-table_4_column_41" width="80">
                                    </colgroup>
                                    <tbody>
                                    <!---->
                                    </tbody>
                                </table>
                                <div class="el-table__empty-block" style="height: 100%; width: 743px;"><span
                                        class="el-table__empty-text">暂无数据</span></div>
                                <!---->
                            </div>
                            <!---->
                            <!---->
                            <!---->
                            <!---->
                            <div class="el-table__column-resize-proxy" style="display: none;"></div>
                        </div>
                        <div class="pre-heji">
                            <p class="pre-p3">合<span></span>计</p>
                            <p class="pre-p4">￥<span></span></p>
                            <p class="pre-p5">￥<span></span></p>
                        </div>
                    </div>
                    <div class="pre-daxie">
                        <div class="pre-dx-left">价税合计（大写）</div>
                        <div class="pre-dx-left1"><span></span></div>
                        <div class="pre-dx-left2"><span class="pre-s3">（小写）</span>￥<span></span></div>
                    </div>
                    <div class="ord-table-header">
                        <div class="header-left-name">
                            <p>销</p>
                            <p>货</p>
                            <p>单</p>
                            <p>位</p>
                        </div>
                        <div class="header-left">
                            <div class="left-main-left">
                                <p>名<span class="s1"></span>称：</p>
                                <p>纳税人识别号：</p>
                                <p>地址、<span class="s2"></span>电话：</p>
                                <p>开户行及账号：</p>
                            </div>
                            <div class="header-left-main">
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                                <div class="left-main-item">
                                    <p></p>
                                </div>
                            </div>
                        </div>
                        <div class="header-right">
                            <div class="right-main-left1">
                                <p>备</p>
                                <p>注</p>
                            </div>
                            <div class="right-main">
                                <p></p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="el-row">
                    <div class="el-col el-col-6">
                        <div class="ord-tab-bot"><span>收款人：</span>
                        </div>
                    </div>
                    <div class="el-col el-col-6">
                        <div class="ord-tab-bot"><span>复核员：</span>
                        </div>
                    </div>
                    <div class="el-col el-col-6">
                        <div class="ord-tab-bot"><span>开票人：</span></div>
                    </div>
                    <div class="el-col el-col-6">
                        <div class="ord-tab-bot"><span>销货单位：（章）</span></div>
                    </div>
                </div>
            </div>
            <div class="dis-div4">
                <button type="button" class="el-button el-button--default">
                    <!---->
                    <!----><span>作 废</span>
                </button>
                <button disabled="disabled" type="button"
                        class="el-button el-button--default is-disabled">
                    <!---->
                    <!----><span>打 印</span>
                </button>
                <button disabled="disabled" type="button"
                        class="el-button el-button--default is-disabled">
                    <!---->
                    <!----><span>负数开具</span>
                </button>
                <button disabled="disabled" type="button"
                        class="el-button el-button--default is-disabled">
                    <!---->
                    <!----><span>查看明细</span>
                </button>
                <button disabled="disabled" type="button"
                        class="el-button el-button--default is-disabled">
                    <!---->
                    <!----><span>含 税</span>
                </button>
            </div>
        </div>
        <div class="el-dialog__wrapper dialogRemove" style="display: none;">
            <div role="dialog" aria-modal="true" aria-label="系统提示" class="el-dialog"
                 style="margin-top: 15vh; width: 440px;">
                <div class="el-dialog__header"><span class="el-dialog__title">系统提示</span>
                    <button type="button"
                            aria-label="Close" class="el-dialog__headerbtn"><i
                            class="el-dialog__close el-icon el-icon-close"></i></button>
                </div>
                <!---->
                <div class="el-dialog__footer"><span><button type="button" class="el-button el-button--default">
									<!---->
                    <!----><span>确 定</span>
								</button> <button type="button" class="el-button el-button--default">
									<!---->
                    <!----><span>取 消</span>
								</button></span></div>
            </div>
        </div>
        <div class="el-dialog__wrapper dialogRemove" style="display: none;">
            <div role="dialog" aria-modal="true" aria-label="系统提示" class="el-dialog"
                 style="margin-top: 15vh; width: 440px;">
                <div class="el-dialog__header"><span class="el-dialog__title">系统提示</span>
                    <button type="button"
                            aria-label="Close" class="el-dialog__headerbtn"><i
                            class="el-dialog__close el-icon el-icon-close"></i></button>
                </div>
                <!---->
                <div class="el-dialog__footer"><span><button type="button" class="el-button el-button--default">
									<!---->
                    <!----><span>确 定</span>
								</button></span></div>
            </div>
        </div>
    </div>
</div>

<!--href="{:URL('invoice/Invoiced')}?id={{= d.id}}"-->
<script id="optionTpl" type="text/html">
    <div class="cell">
        <a lay-event="detail">
            <button type="button" class="el-button el-button--default"
                    style="font-size: 12px; width: 60px; height: 23px; line-height: 23px;">
                <span>查看原票</span>
            </button>
        </a>
    </div>
</script>
<script id="dataTpl" type="text/html">
    <p>
        本页统计：合计金额：<span>{{ d.current.money }}</span>合计税额：<span>{{ d.current.tax }}</span>价税合计：<span>{{ d.current.total }}</span>
    </p>
    <p>
        全部统计：合计金额：<span>{{ d.total.money }}</span>合计税额：<span>{{ d.total.tax }}</span>价税合计：<span>{{ d.total.total }}</span>
    </p>
</script>
<script id="searchTpl" type="text/html">
    {{# layui.each(d,function(index,item){  }}
    {{# if(item.checked == 'true'){ }}
    <li class="el-select-dropdown__item search_type" index="{{= item.value }}"><span>{{= item.name }}</span>
    </li>
    {{# } }}
    {{# }) }}
</script>
{include file="public/foot"}
<script type="text/javascript" charset="utf-8" src='__STATIC__/User/js/jquery.min.js'></script>
<link rel="stylesheet" href="__STATIC__/layui/css/layui.css" media="all">
<script src="__STATIC__/layui/layui.js"></script>
<!--<script type="text/javascript" src="__STATIC__/jsbridge-mini.js"></script>-->
<script src="__STATIC__/tax/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" charset="utf-8">
    window.onload = function () {
        document.documentElement.style.overflow = "hidden"
        document.body.style.overflow = "hidden"
    }
</script>
<script type="text/javascript" charset="utf-8">
    $("#min-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.minimize().then((res) => {
            if (res.success) {
                console.log('最小化窗口成功');
            }
        });
    })
    if (typeof jsBridge != 'undefined') {
        jsBridge.isMaximized().then((res) => {
            if (res.success) {
                if (res.data) {
                    $("#max-window").hide()
                    $("#maxd-window").show()
                } else {
                    $("#max-window").show()
                    $("#maxd-window").hide()
                }
            }
        });
    }

    $("#max-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.maximize().then((res) => {
            if (res.success) {
                $("#max-window").hide()
                $("#maxd-window").show()
            }
        });
    })
    $("#maxd-window").click(function () {
        if (typeof jsBridge == 'undefined') {
            return false
        }
        jsBridge.isMaximized().then((res) => {
            if (res.success) {
                let current_dom = res.data  //当前窗口是否为最大化
                jsBridge.maximize().then((res) => {
                    if (res.success) {
                        if (current_dom) {
                            //点之前最大化 点完窗口缩小  图标是大的
                            $("#max-window").show()
                            $("#maxd-window").hide()
                        } else {
                            $("#max-window").hide()
                            $("#maxd-window").show()
                        }

                    }
                });
            }
        })
    })
    layui.use(function () {
        var table = layui.table;
        var form = layui.form;
        var laypage = layui.laypage;
        var laytpl = layui.laytpl;

        $("#search_name_show").val($("#search_type_box li").eq(0).find("span").text())
        $("#search_type").val($("#search_type_box .search_type").eq(0).attr('index'))

        var init_cols = JSON.parse('{$search_result_json}');
        var cols = getCols();

        function getCols() {
            var temp_cols = [];
            init_cols.forEach(function (item) {
                if (item.checked == 'true' || item.checked) {
                    temp_cols.push({field: item.item, title: item.name, width: item.width})
                }
            })
            temp_cols.push({title: "操作", align: "center", fixed: "right", width: 120, templet: "#optionTpl"})
            return temp_cols
        }

        var invoice = table.render({
            elem: "#invoicetable",
            id: "invoice",
            cols: [cols],
            data: [],
            height: 550
        })
        table.on("tool(tableFilter)", function (obj) {
            let event = obj.event
            let data = obj.data
            if (event == 'detail') {
                $("body").append(`<iframe id="detail_iframe" src="{:url('invoice/Invoiced')}?id=${data.id}" frameborder="0" style="position:absolute;z-index: 999;width: 100%;height: 100vh;"></iframe>`)
            }
        })

        form.on("submit(form)", function (data) {
            $(".bg").show()
            setTimeout(function () {
                $(".bg").hide()
                $(".btn_item").css('background-color', '#165692')
                Qajax("{:url('InvoicingsystemAjax')}", "get", data.field, true).then(res => {
                    if (res.status == 1) {
                        table.reload("invoice", {
                            data: res.data.list.data
                        })
                        laytpl($("#dataTpl").html()).render(res.data, function (str) {
                            $("#tongjiBox").html(str)
                        })
                        renderPage(res.data.list.total, res.data.list.current_page, res.data.list.per_page)
                    }
                })
            }, 1500)

            return false
        })

        renderPage(0)

        function renderPage(total, curr = 1, limit = 10) {
            // 自定义排版
            laypage.render({
                elem: 'tablepage',
                count: total,
                curr: curr,
                limit: limit,
                layout: ['prev', 'page', 'next', 'limit'],
                limitTemplet: function (item) {
                    return item;
                },
                jump: function (obj, first) {
                    // console.log(obj.curr); // 得到当前页，以便向服务端请求对应页的数据。
                    // console.log(obj.limit); // 得到每页显示的条数
                    // console.log(first); // 得到每页显示的条数
                    var field = form.val("form")
                    field.page = obj.curr
                    field.limit = obj.limit
                    // 首次不执行
                    if (!first) {
                        // do something
                        Qajax("{:url('InvoicingsystemAjax')}", "get", field, true).then(res => {
                            if (res.status == 1) {
                                table.reload("invoice", {
                                    data: res.data.list.data
                                })
                                laytpl($("#dataTpl").html()).render(res.data, function (str) {
                                    $("#tongjiBox").html(str)
                                })
                                renderPage(res.data.list.total, res.data.list.current_page, res.data.list.per_page)
                            }
                        })
                    }
                }
            });
        }


        $("#save").click(function () {
            var condition = []
            $(".search_condition label").each(function () {
                var name = $(this).find('input').attr('name')
                var check = $(this).find('input').prop('checked')
                var val = $(this).find('input').val()
                var obj = new Object()
                obj.value = val
                obj.checked = check
                condition.push(obj)
            })
            var result = []
            $(".search_result label").each(function () {
                var name = $(this).find('input').attr('name')
                var check = $(this).find('input').prop('checked')
                var val = $(this).find('input').val()
                var obj = new Object()
                obj.value = val
                obj.checked = check
                result.push(obj)
            })
            console.log(condition, result)
            $.ajax({
                type: "post",
                datatype: "json",
                data: {condition: condition, result: result},
                url: "{:url('SetSearch')}",
                success: function (res) {
                    if (res.status == 1) {
                        // $("form").submit()
                        laytpl($("#searchTpl").html()).render(res.data.condition, function (str) {
                            $("#search_type_box").html(str)
                            $("#search_name_show").val($("#search_type_box li").eq(0).find("span").text())
                            $("#search_type").val($("#search_type_box .search_type").eq(0).attr('index'))
                        })
                        init_cols = res.data.result
                        cols = getCols()
                        table.reload("invoice", {
                            cols: [cols],
                            data: []
                        })
                        renderPage(0)
                    } else {
                        layer.msg(res.message)
                    }
                    $('.setbox').hide()

                }
            })
        })
    });
</script>
<script type="text/javascript" charset="utf-8">
    $(".el-checkbox").click(function () {
        if ($(this).find('.el-checkbox__input').hasClass('is-checked')) {
            $(this).find('.el-checkbox__input').removeClass('is-checked')
            $(this).find("input[name='tax_status']").prop('checked', false)
        } else {
            $(this).find('.el-checkbox__input').addClass('is-checked')
            $(this).find("input[name='tax_status']").prop('checked', true)
        }
        var arr = []
        $(".el-checkbox").each(function (item) {
            if ($(this).find('.el-checkbox__input').hasClass('is-checked')) {
                arr.push($(this).find("input[name='tax_status']").val())
            }
        })
        var str = arr.join(',')
        $("#status_tax").val(str)

    })

</script>
<script>
    $(function () {
        let year = new Date().getFullYear();
        $("#begin").datepicker({
            dateFormat: 'yy-mm-dd',         //设置日历的日期格式
            dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
            dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
            monthNamesShort: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
            maxDate: '0',
            changeMonth: true,
            changeYear: true,
            yearRange: "2014:" + year
        });
        $("#end").datepicker({
            dateFormat: 'yy-mm-dd',         //设置日历的日期格式
            dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
            dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
            monthNamesShort: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
            maxDate: '0',
            changeMonth: true,
            changeYear: true,
            yearRange: "2014:" + year
        });
        $(document).on("mousedown",".ui-datepicker-month",function () {
            if (this.options.length > 7){
                $(this).css('position','absolute').css('z-index',1)
                this.setAttribute('size',7)
            }
            let ele = document.querySelector('.ui-datepicker-year')
            ele.setAttribute('size',0);
            ele.style.position = 'unset'
        })
        $(document).on("mousedown",".ui-datepicker-year",function () {
            if (this.options.length > 7){
                $(this).css('position','absolute').css('z-index',1)
                let ele = document.querySelector('.ui-datepicker-month')
                ele.setAttribute('size',0);
                ele.style.position = 'unset'
                this.setAttribute('size',7)
            }
        })
    });
    // layui.use('laydate', function(){
    //     var laydate = layui.laydate;

    //     //执行一个laydate实例
    //     laydate.render({
    //         elem: '#begin', //指定元素
    //         format: 'yyyy-MM-dd',
    //         max:'today',
    //     });
    //     laydate.render({
    //         elem: '#end', //指定元素
    //         format: 'yyyy-MM-dd',
    //         max:'today',
    //     });
    // });
</script>
<script type="text/javascript" charset="utf-8">
    $('#set').click(function () {
        $('.setbox').show()
    })
    $('.close').click(function () {
        $('.setbox').hide()
    })
    $('.out').click(function () {
        $('.setbox').hide()
    })
    $(window).resize(function () {

        var pagex = $('.el-table').width() - 135
        if (pagex > 1640) {
            $('.fiex_box').css('left', 1640)
        } else {
            $('.fiex_box').css('left', pagex)
        }

    })
    $('.el-table').scroll(function () {
        var scrollx = $('.el-table').scrollLeft()
        var pagex = $('.el-table').width() - 135

        if (pagex > 2400 || pagex + scrollx > 2400) {
            $('.fiex_box').css('left', 2400)
        } else {
            $('.fiex_box').css('left', pagex + scrollx)
        }

    })
    $(document).ready(function () {
        var pagex = $('.el-table').width() - 135
        if (pagex > 2400) {
            $('.fiex_box').css('left', 2400)
        } else {
            $('.fiex_box').css('left', pagex)
        }
        $(".bg").show()
        setTimeout(function () {
            $(".bg").hide()
            $(".data_box").show()

            if ($(".el-table__row").length > 0) {
                $(".btn_item").css('background-color', '#165692').attr('disabled', false)
            }
        }, 1500)
    });
    $(".pagination").addClass('el-pager')
    $(".el-pager li").addClass('number')
    $(".limit_box li").click(function () {
        var limit = $(this).attr('limit')
        $("#limit").val(limit)
        $("form").submit()
    })
    $('.el-select').click(function () {
        //  $('.el-select-dropdown').hide()
        $(this).find('.el-select-dropdown').toggle()
    })
    $(".el-select-dropdown__item.bill_choose").click(function () {
        $("#bill_show").val($(this).text())
        var type = $(this).attr('bill')
        $("#bill").val(type)

        $(".el-select-dropdown__item.bill_choose").removeClass('selected')
        $(this).addClass('selected')
    })
    $(document).on("click",".el-select-dropdown__item.search_type",function () {
        $("#search_name_show").val($(this).text())
        var type = $(this).attr('index')
        $("#search_type").val(type)
        $(".el-select-dropdown__item.search_type").removeClass('selected')
        $(this).addClass('selected')
    })
</script>
</body>
</html>
>
